package cn.itcast.com.relection.tesxt;

/**
 * Created by 郭浩 on 2020/9/10 14:28
 */
public class student {
    public String username = "jacl";
    public String password = "1234";

    public String getUsername() {
        System.out.println(this.username);
        System.out.println("username= "+username);
        return username;
    }

    public student(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public student() {
    }

    public void setUsername(String username) {
        System.out.println(username);
        this.username = username;
        System.out.println(this.username);
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
